/**
\file IO.h
*/
#pragma once
#include <lostlbase.h>
#include "System.h"

namespace lo {

	class dll
	{
	public:
		dll(const char *name);
		~dll();
	protected:
		bool	CallBoolFunction(const char *name);
		bool	CallBoolFunctionSafe(const char *name, bool defaultValue);
		FARPROC GetProcAddress(const char *name);
		FARPROC GetProcAddressSafe(const char *name);
	private:
		void	*m_moduleHandle;

	};

}
